Natural density

In number theory, asymptotic density (or natural density or arithmetic density) is one of the possibilities to measure how large a subset of the set of natural numbers is.

Intuitively, it is thought that there are more positive integers than perfect squares, since every perfect square is already positive, and many other positive integers exist besides. However, the set of positive integers is not in fact greater than the set of perfect squares: both sets are infinite and countable and can therefore be put in one-to-one correspondence.

If an integer is randomly selected from the set [1,n], then the probability that it belongs to A is the ratio of the number of elements of A in [1,n] to the total number of elements in [1,n]. If this probability tends to some limit as n tends to infinity, then this limit is referred to as the asymptotic density of A. This notion can be understood as a kind of probability of choosing a number from the set A. Indeed, the asymptotic density (as well as some other types of densities) is studied in probabilistic number theory.

Asymptotic density contrasts, for example, with the Schnirelmann density. A drawback of this approach is that the asymptotic density is not defined for all subsets of \mathbb{N}.

Contents

Definition

A subset A of positive integers has natural density (or asymptotic density) α, where

0 ≤ α ≤ 1,

if the proportion of elements of A among all natural numbers from 1 to n is asymptotic to α as n tends to infinity.

More explicitly, if one defines for any natural number n the counting function a(n) as the number of elements of A less than or equal to n, then the natural density of A being α exactly means that

a(n)/n → α as n → +∞.

Upper and lower asymptotic density

Let A be a subset of the set of natural numbers \mathbb{N}=\{1,2,\ldots\}. For any n \in \mathbb{N} put A(n)=\{1,2,\ldots,n\} \cap A. and a(n)=|A(n)|.

Define the upper asymptotic density \overline{d}(A) of A by

 \overline{d}(A) = \limsup_{n \rightarrow \infty} \frac{a(n)}{n}

where lim sup is the limit superior. \overline{d}(A) is also known simply as the upper density of A.

Similarly, \underline{d}(A), the lower asymptotic density of A, is defined by

 \underline{d}(A) = \liminf_{n \rightarrow \infty} \frac{ a(n) }{n}

One may say A has asymptotic density d(A) if \underline{d}(A)=\overline{d}(A), in which case it is that d(A)=\overline{d}(A).

This definition can be restated in the following way:

 d(A)=\lim_{n \rightarrow \infty} \frac{a(n)}{n}

if the limit exists.

A somewhat weaker notion of density is upper Banach density; given a set A \subseteq \mathbb{N}, define d^*(A) as

 d^*(A) = \limsup_{N-M \rightarrow \infty} \frac{| A \bigcap \{M, M%2B1, ... , N\}|}{N-M%2B1}

If one were to write a subset of \mathbb{N} as an increasing sequence

 A=\{a_1<a_2<\ldots<a_n<\ldots; n\in\mathbb{N}\}

then

\underline{d}(A) = \liminf_{n \rightarrow \infty} \frac{n}{a_n},
\overline{d}(A) = \limsup_{n \rightarrow \infty} \frac{n}{a_n}

and d(A) = \lim_{n \rightarrow \infty} \frac{n}{a_n} if the limit exists.

Examples

\overline d(A)=\lim_{m \rightarrow \infty} \frac{1%2B2^2%2B\cdots %2B2^{2m}}{2^{2m%2B1}-1}
= \lim_{m \rightarrow \infty} \frac{2^{2m%2B2}-1}{3(2^{2m%2B1}-1)}
= \frac 23\, ,
whereas its lower density is
\underline d(A)=\lim_{m \rightarrow \infty} \frac{1%2B2^2%2B\cdots %2B2^{2m}}{2^{2m%2B2}-1}
= \lim_{m \rightarrow \infty} \frac{2^{2m%2B2}-1}{3(2^{2m%2B2}-1)}
= \frac 13\, .
A_x:=\{n\in\mathbb{N}\,:\, \alpha_n<x \}\, .
Then, by definition, d(A_x)= x for all x.

References

This article incorporates material from Asymptotic density on PlanetMath, which is licensed under the Creative Commons Attribution/Share-Alike License.